.knowledge-bg {
    background: linear-gradient(rgba(196, 217, 255), white);
    height: 100vh;
    width: 100%;
}

.knowledge-search {
    height: 8%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.knowledge-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: 10px;
}

.knowledge-img img {
    width: 90%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    margin: 0 5%;
    border-radius: 10px;
}

.knowledge-img img.active {
    opacity: 1;
}

.category {
    width: 90%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 5%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.category-item {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    flex-wrap: wrap;
}

.category-item img {
    width: 50px;
    height: 50px
}

.category-item:hover {
    transform: scale(1.1);
}

.category-item {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    flex-wrap: wrap;
}

.category-item img {
    width: 50px;
    height: 50px
}

.category-item:hover {
    transform: scale(1.1);
}

.text {
    width: 90%;
    margin: 0 5%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: justify;
    margin-top: 10px;
}

.text h2 {
    margin-left: 5%;
    height: 60px;
    line-height: 60px;
}

.text-item {
    margin-bottom: 10px;
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.text-item span {
    margin-right: 10px;
}

.text-item:hover {
    color: #409EFF;
    border-bottom: 1px solid #409EFF;
}

.text-item:last-child {
    border-bottom: none;
}

.cate {
    width: 90%;
    margin: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 10px;
    margin-top: 10px;
}

.cate-item {
    width: 33%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.cate-item:hover {
    transform: scale(1.1);
}